')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n×');a.StoreData(r[0],"data",t),this.$selection.find(".select2atkp-selection__rendered").prepend(r)}},e}),e.define("select2atkp/selection/search",["jquery","../utils","../keys"],function(r,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=r('');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var r=this,i=t.id+"-results";e.call(this,t,n),t.on("open",function(){r.$search.attr("aria-controls",i),r.$search.trigger("focus")}),t.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),t.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),t.on("disable",function(){r.$search.prop("disabled",!0)}),t.on("focus",function(e){r.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2atkp-search--inline",function(e){r.trigger("focus",e)}),this.$selection.on("focusout",".select2atkp-search--inline",function(e){r._handleBlur(e)}),this.$selection.on("keydown",".select2atkp-search--inline",function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===r.$search.val()){var t=r.$searchContainer.prev(".select2atkp-selection__choice");if(0this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2atkp/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(){r._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected(function(){e.call(r,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var r=this;this.current(function(e){var t=null!=e?e.length:0;0=r.maximumSelectionLength?r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):n&&n()})},e}),e.define("select2atkp/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2atkp/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=o('');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var r=this,i=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){r.handleSearch(e)}),t.on("open",function(){r.$search.attr("tabindex",0),r.$search.attr("aria-controls",i),r.$search.trigger("focus"),window.setTimeout(function(){r.$search.trigger("focus")},0)}),t.on("close",function(){r.$search.attr("tabindex",-1),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.val(""),r.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||r.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass("select2atkp-search--hide"):r.$searchContainer.addClass("select2atkp-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2atkp/dropdown/hidePlaceholder",[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;0<=r;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),e.define("select2atkp/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",function(e){r.lastParams=e,r.loading=!0}),t.on("query:append",function(e){r.lastParams=e,r.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n(''),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2atkp/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)}),t.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2atkp"),t.addClass("select2atkp-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f(""),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,r="scroll.select2atkp."+t.id,i="resize.select2atkp."+t.id,o="orientationchange.select2atkp."+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,"select2atkp-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(r,function(e){var t=a.GetData(this,"select2atkp-scroll-position");f(this).scrollTop(t.y)}),f(window).on(r+" "+i+" "+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2atkp."+t.id,r="resize.select2atkp."+t.id,i="orientationchange.select2atkp."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+r+" "+i)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown.hasClass("select2atkp-dropdown--above"),n=this.$dropdown.hasClass("select2atkp-dropdown--below"),r=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=i.top,o.bottom=i.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=ai.bottom+s,d={left:i.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(r="below"),u||!c||t?!c&&u&&t&&(r="below"):r="above",("above"==r||t&&"below"!==r)&&(d.top=o.top-h.top-s),null!=r&&(this.$dropdown.removeClass("select2atkp-dropdown--below select2atkp-dropdown--above").addClass("select2atkp-dropdown--"+r),this.$container.removeClass("select2atkp-container--below select2atkp-container--above").addClass("select2atkp-container--"+r)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2atkp/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,r=0;r');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2atkp-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("jquery-mousewheel",["jquery"],function(e){return e}),e.define("jquery.select2atkp",["jquery","jquery-mousewheel","./select2atkp/core","./select2atkp/defaults","./select2atkp/utils"],function(i,e,o,t,s){if(null==i.fn.select2atkp){var a=["open","close","destroy"];i.fn.select2atkp=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=i.extend(!0,{},t);new o(i(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for select2atkp: "+t);var n,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2atkp");null==e&&window.console&&console.error&&console.error("The select2atkp('"+t+"') method was called on an element that is not using select2atkp."),n=e[t].apply(e,r)}),-1 https://www.moderne-einrichtung.de/wp-content/plugins/affiliate-toolkit-starter/js/library.js?ver=5.6.2
var offsetx = 20;
var offsety = 0;
function hideAtkpBox(e, Inhalte) {
document.getElementById('atkp-infobox').style.visibility = "hidden";
}
function showAtkpBox(e, Inhalte, offsetX, offsetY) {
if (offsetX) {
offsetx = offsetX;
} else {
offsetx = 20;
}
if (offsetY) {
offsety = offsetY;
} else {
offsety = 0;
}
var PositionX = 0;
var PositionY = 0;
if (!e) var e = window.event;
if (e.pageX || e.pageY) {
PositionX = e.pageX;
PositionY = e.pageY;
}
else if (e.clientX || e.clientY) {
PositionX = e.clientX + document.body.scrollLeft;
PositionY = e.clientY + document.body.scrollTop;
}
document.getElementById("BoxInhalte").innerHTML = document.getElementById(Inhalte).innerHTML;
document.getElementById('atkp-infobox').style.left = (PositionX + offsetx) + "px";
document.getElementById('atkp-infobox').style.top = (PositionY + offsety) + "px";
document.getElementById('atkp-infobox').style.visibility = "visible";
}
function atkp_open_link(link, mode, trackingtype, linktype, linkcaption) {
if (trackingtype == 1 && typeof ga !== "undefined")
ga('send', 'event', linktype, 'click', linkcaption);
else if (trackingtype == 2 && typeof _gaq !== "undefined")
_gaq.push(['_trackEvent', linktype, 'click', linkcaption]);
else if (trackingtype == 3 && typeof gtag !== "undefined")
gtag('event', linktype, {'event_category': 'click', 'event_label': linkcaption});
window.open(link, mode);
}
/*slider*/
/*! nouislider - 9.0.0 - 2016-09-29 21:44:02 */
!function (a) {
"function" == typeof define && define.amd ? define([], a) : "object" == typeof exports ? module.exports = a() : window.atkpnoUiSlider = a()
}(function () {
"use strict";
function a(a, b) {
var c = document.createElement("div");
return j(c, b), a.appendChild(c), c
}
function b(a) {
return a.filter(function (a) {
return !this[a] && (this[a] = !0)
}, {})
}
function c(a, b) {
return Math.round(a / b) * b
}
function d(a, b) {
var c = a.getBoundingClientRect(), d = a.ownerDocument, e = d.documentElement, f = m();
return /webkit.*Chrome.*Mobile/i.test(navigator.userAgent) && (f.x = 0), b ? c.top + f.y - e.clientTop : c.left + f.x - e.clientLeft
}
function e(a) {
return "number" == typeof a && !isNaN(a) && isFinite(a)
}
function f(a, b, c) {
c > 0 && (j(a, b), setTimeout(function () {
k(a, b)
}, c))
}
function g(a) {
return Math.max(Math.min(a, 100), 0)
}
function h(a) {
return Array.isArray(a) ? a : [a]
}
function i(a) {
a = String(a);
var b = a.split(".");
return b.length > 1 ? b[1].length : 0
}
function j(a, b) {
a.classList ? a.classList.add(b) : a.className += " " + b
}
function k(a, b) {
a.classList ? a.classList.remove(b) : a.className = a.className.replace(new RegExp("(^|\\b)" + b.split(" ").join("|") + "(\\b|$)", "gi"), " ")
}
function l(a, b) {
return a.classList ? a.classList.contains(b) : new RegExp("\\b" + b + "\\b").test(a.className)
}
function m() {
var a = void 0 !== window.pageXOffset, b = "CSS1Compat" === (document.compatMode || ""),
c = a ? window.pageXOffset : b ? document.documentElement.scrollLeft : document.body.scrollLeft,
d = a ? window.pageYOffset : b ? document.documentElement.scrollTop : document.body.scrollTop;
return {x: c, y: d}
}
function n() {
return window.navigator.pointerEnabled ? {
start: "pointerdown",
move: "pointermove",
end: "pointerup"
} : window.navigator.msPointerEnabled ? {
start: "MSPointerDown",
move: "MSPointerMove",
end: "MSPointerUp"
} : {start: "mousedown touchstart", move: "mousemove touchmove", end: "mouseup touchend"}
}
function o(a, b) {
return 100 / (b - a)
}
function p(a, b) {
return 100 * b / (a[1] - a[0])
}
function q(a, b) {
return p(a, a[0] < 0 ? b + Math.abs(a[0]) : b - a[0])
}
function r(a, b) {
return b * (a[1] - a[0]) / 100 + a[0]
}
function s(a, b) {
for (var c = 1; a >= b[c];) c += 1;
return c
}
function t(a, b, c) {
if (c >= a.slice(-1)[0]) return 100;
var d, e, f, g, h = s(c, a);
return d = a[h - 1], e = a[h], f = b[h - 1], g = b[h], f + q([d, e], c) / o(f, g)
}
function u(a, b, c) {
if (c >= 100) return a.slice(-1)[0];
var d, e, f, g, h = s(c, b);
return d = a[h - 1], e = a[h], f = b[h - 1], g = b[h], r([d, e], (c - f) * o(f, g))
}
function v(a, b, d, e) {
if (100 === e) return e;
var f, g, h = s(e, a);
return d ? (f = a[h - 1], g = a[h], e - f > (g - f) / 2 ? g : f) : b[h - 1] ? a[h - 1] + c(e - a[h - 1], b[h - 1]) : e
}
function w(a, b, c) {
var d;
if ("number" == typeof b && (b = [b]), "[object Array]" !== Object.prototype.toString.call(b)) throw new Error("atkpnoUiSlider: 'range' contains invalid value.");
if (d = "min" === a ? 0 : "max" === a ? 100 : parseFloat(a), !e(d) || !e(b[0])) throw new Error("atkpnoUiSlider: 'range' value isn't numeric.");
c.xPct.push(d), c.xVal.push(b[0]), d ? c.xSteps.push(!isNaN(b[1]) && b[1]) : isNaN(b[1]) || (c.xSteps[0] = b[1]), c.xHighestCompleteStep.push(0)
}
function x(a, b, c) {
if (!b) return !0;
c.xSteps[a] = p([c.xVal[a], c.xVal[a + 1]], b) / o(c.xPct[a], c.xPct[a + 1]);
var d = (c.xVal[a + 1] - c.xVal[a]) / c.xNumSteps[a], e = Math.ceil(Number(d.toFixed(3)) - 1),
f = c.xVal[a] + c.xNumSteps[a] * e;
c.xHighestCompleteStep[a] = f
}
function y(a, b, c, d) {
this.xPct = [], this.xVal = [], this.xSteps = [d || !1], this.xNumSteps = [!1], this.xHighestCompleteStep = [], this.snap = b, this.direction = c;
var e, f = [];
for (e in a) a.hasOwnProperty(e) && f.push([a[e], e]);
for (f.length && "object" == typeof f[0][0] ? f.sort(function (a, b) {
return a[0][0] - b[0][0]
}) : f.sort(function (a, b) {
return a[0] - b[0]
}), e = 0; e < f.length; e++) w(f[e][1], f[e][0], this);
for (this.xNumSteps = this.xSteps.slice(0), e = 0; e < this.xNumSteps.length; e++) x(e, this.xNumSteps[e], this)
}
function z(a, b) {
if (!e(b)) throw new Error("atkpnoUiSlider: 'step' is not numeric.");
a.singleStep = b
}
function A(a, b) {
if ("object" != typeof b || Array.isArray(b)) throw new Error("atkpnoUiSlider: 'range' is not an object.");
if (void 0 === b.min || void 0 === b.max) throw new Error("atkpnoUiSlider: Missing 'min' or 'max' in 'range'.");
if (b.min === b.max) throw new Error("atkpnoUiSlider: 'range' 'min' and 'max' cannot be equal.");
a.spectrum = new y(b, a.snap, a.dir, a.singleStep)
}
function B(a, b) {
if (b = h(b), !Array.isArray(b) || !b.length) throw new Error("atkpnoUiSlider: 'start' option is incorrect.");
a.handles = b.length, a.start = b
}
function C(a, b) {
if (a.snap = b, "boolean" != typeof b) throw new Error("atkpnoUiSlider: 'snap' option must be a boolean.")
}
function D(a, b) {
if (a.animate = b, "boolean" != typeof b) throw new Error("atkpnoUiSlider: 'animate' option must be a boolean.")
}
function E(a, b) {
if (a.animationDuration = b, "number" != typeof b) throw new Error("atkpnoUiSlider: 'animationDuration' option must be a number.")
}
function F(a, b) {
var c, d = [!1];
if (b === !0 || b === !1) {
for (c = 1; c < a.handles; c++) d.push(b);
d.push(!1)
} else {
if (!Array.isArray(b) || !b.length || b.length !== a.handles + 1) throw new Error("atkpnoUiSlider: 'connect' option doesn't match handle count.");
d = b
}
a.connect = d
}
function G(a, b) {
switch (b) {
case"horizontal":
a.ort = 0;
break;
case"vertical":
a.ort = 1;
break;
default:
throw new Error("atkpnoUiSlider: 'orientation' option is invalid.")
}
}
function H(a, b) {
if (!e(b)) throw new Error("atkpnoUiSlider: 'margin' option must be numeric.");
if (0 !== b && (a.margin = a.spectrum.getMargin(b), !a.margin)) throw new Error("atkpnoUiSlider: 'margin' option is only supported on linear sliders.")
}
function I(a, b) {
if (!e(b)) throw new Error("atkpnoUiSlider: 'limit' option must be numeric.");
if (a.limit = a.spectrum.getMargin(b), !a.limit || a.handles < 2) throw new Error("atkpnoUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")
}
function J(a, b) {
switch (b) {
case"ltr":
a.dir = 0;
break;
case"rtl":
a.dir = 1;
break;
default:
throw new Error("atkpnoUiSlider: 'direction' option was not recognized.")
}
}
function K(a, b) {
if ("string" != typeof b) throw new Error("atkpnoUiSlider: 'behaviour' must be a string containing options.");
var c = b.indexOf("tap") >= 0, d = b.indexOf("drag") >= 0, e = b.indexOf("fixed") >= 0,
f = b.indexOf("snap") >= 0, g = b.indexOf("hover") >= 0;
if (e) {
if (2 !== a.handles) throw new Error("atkpnoUiSlider: 'fixed' behaviour must be used with 2 handles");
H(a, a.start[1] - a.start[0])
}
a.events = {tap: c || f, drag: d, fixed: e, snap: f, hover: g}
}
function L(a, b) {
if (b !== !1) if (b === !0) {
a.tooltips = [];
for (var c = 0; c < a.handles; c++) a.tooltips.push(!0)
} else {
if (a.tooltips = h(b), a.tooltips.length !== a.handles) throw new Error("atkpnoUiSlider: must pass a formatter for all handles.");
a.tooltips.forEach(function (a) {
if ("boolean" != typeof a && ("object" != typeof a || "function" != typeof a.to)) throw new Error("atkpnoUiSlider: 'tooltips' must be passed a formatter or 'false'.")
})
}
}
function M(a, b) {
if (a.format = b, "function" == typeof b.to && "function" == typeof b.from) return !0;
throw new Error("atkpnoUiSlider: 'format' requires 'to' and 'from' methods.")
}
function N(a, b) {
if (void 0 !== b && "string" != typeof b && b !== !1) throw new Error("atkpnoUiSlider: 'cssPrefix' must be a string or `false`.");
a.cssPrefix = b
}
function O(a, b) {
if (void 0 !== b && "object" != typeof b) throw new Error("atkpnoUiSlider: 'cssClasses' must be an object.");
if ("string" == typeof a.cssPrefix) {
a.cssClasses = {};
for (var c in b) b.hasOwnProperty(c) && (a.cssClasses[c] = a.cssPrefix + b[c])
} else a.cssClasses = b
}
function P(a, b) {
if (b !== !0 && b !== !1) throw new Error("atkpnoUiSlider: 'useRequestAnimationFrame' option should be true (default) or false.");
a.useRequestAnimationFrame = b
}
function Q(a) {
var b, c = {margin: 0, limit: 0, animate: !0, animationDuration: 300, format: T};
b = {
step: {r: !1, t: z},
start: {r: !0, t: B},
connect: {r: !0, t: F},
direction: {r: !0, t: J},
snap: {r: !1, t: C},
animate: {r: !1, t: D},
animationDuration: {r: !1, t: E},
range: {r: !0, t: A},
orientation: {r: !1, t: G},
margin: {r: !1, t: H},
limit: {r: !1, t: I},
behaviour: {r: !0, t: K},
format: {r: !1, t: M},
tooltips: {r: !1, t: L},
cssPrefix: {r: !1, t: N},
cssClasses: {r: !1, t: O},
useRequestAnimationFrame: {r: !1, t: P}
};
var d = {
connect: !1,
direction: "ltr",
behaviour: "tap",
orientation: "horizontal",
cssPrefix: "atkpnoUi-",
cssClasses: {
target: "target",
base: "base",
origin: "origin",
handle: "handle",
horizontal: "horizontal",
vertical: "vertical",
background: "background",
connect: "connect",
ltr: "ltr",
rtl: "rtl",
draggable: "draggable",
drag: "state-drag",
tap: "state-tap",
active: "active",
tooltip: "tooltip",
pips: "pips",
pipsHorizontal: "pips-horizontal",
pipsVertical: "pips-vertical",
marker: "marker",
markerHorizontal: "marker-horizontal",
markerVertical: "marker-vertical",
markerNormal: "marker-normal",
markerLarge: "marker-large",
markerSub: "marker-sub",
value: "value",
valueHorizontal: "value-horizontal",
valueVertical: "value-vertical",
valueNormal: "value-normal",
valueLarge: "value-large",
valueSub: "value-sub"
},
useRequestAnimationFrame: !0
};
Object.keys(b).forEach(function (e) {
if (void 0 === a[e] && void 0 === d[e]) {
if (b[e].r) throw new Error("atkpnoUiSlider: '" + e + "' is required.");
return !0
}
b[e].t(c, void 0 === a[e] ? d[e] : a[e])
}), c.pips = a.pips;
var e = [["left", "top"], ["right", "bottom"]];
return c.style = e[c.dir][c.ort], c.styleOposite = e[c.dir ? 0 : 1][c.ort], c
}
function R(c, e, i) {
function o(b, c) {
var d = a(b, e.cssClasses.origin), f = a(d, e.cssClasses.handle);
return f.setAttribute("data-handle", c), d
}
function p(b, c) {
return !!c && a(b, e.cssClasses.connect)
}
function q(a, b) {
ba = [], ca = [], ca.push(p(b, a[0]));
for (var c = 0; c < e.handles; c++) ba.push(o(b, c)), ha[c] = c, ca.push(p(b, a[c + 1]))
}
function r(b) {
j(b, e.cssClasses.target), 0 === e.dir ? j(b, e.cssClasses.ltr) : j(b, e.cssClasses.rtl), 0 === e.ort ? j(b, e.cssClasses.horizontal) : j(b, e.cssClasses.vertical), aa = a(b, e.cssClasses.base)
}
function s(b, c) {
return !!e.tooltips[c] && a(b.firstChild, e.cssClasses.tooltip)
}
function t() {
var a = ba.map(s);
Z("update", function (b, c, d) {
if (a[c]) {
var f = b[c];
e.tooltips[c] !== !0 && (f = e.tooltips[c].to(d[c])), a[c].innerHTML = f
}
})
}
function u(a, b, c) {
if ("range" === a || "steps" === a) return ia.xVal;
if ("count" === a) {
var d, e = 100 / (b - 1), f = 0;
for (b = []; (d = f++ * e) <= 100;) b.push(d);
a = "positions"
}
return "positions" === a ? b.map(function (a) {
return ia.fromStepping(c ? ia.getStep(a) : a)
}) : "values" === a ? c ? b.map(function (a) {
return ia.fromStepping(ia.getStep(ia.toStepping(a)))
}) : b : void 0
}
function v(a, c, d) {
function e(a, b) {
return (a + b).toFixed(7) / 1
}
var f = {}, g = ia.xVal[0], h = ia.xVal[ia.xVal.length - 1], i = !1, j = !1, k = 0;
return d = b(d.slice().sort(function (a, b) {
return a - b
})), d[0] !== g && (d.unshift(g), i = !0), d[d.length - 1] !== h && (d.push(h), j = !0), d.forEach(function (b, g) {
var h, l, m, n, o, p, q, r, s, t, u = b, v = d[g + 1];
if ("steps" === c && (h = ia.xNumSteps[g]), h || (h = v - u), u !== !1 && void 0 !== v) for (h = Math.max(h, 1e-7), l = u; l <= v; l = e(l, h)) {
for (n = ia.toStepping(l), o = n - k, r = o / a, s = Math.round(r), t = o / s, m = 1; m <= s; m += 1) p = k + m * t, f[p.toFixed(5)] = ["x", 0];
q = d.indexOf(l) > -1 ? 1 : "steps" === c ? 2 : 0, !g && i && (q = 0), l === v && j || (f[n.toFixed(5)] = [l, q]), k = n
}
}), f
}
function w(a, b, c) {
function d(a, b) {
var c = b === e.cssClasses.value, d = c ? m : n, f = c ? k : l;
return b + " " + d[e.ort] + " " + f[a]
}
function f(a, b, c) {
return 'class="' + d(c[1], b) + '" style="' + e.style + ": " + a + '%"'
}
function g(a, d) {
d[1] = d[1] && b ? b(d[0], d[1]) : d[1], i += "", d[1] && (i += "